/*
 * BanBu_GridCell
 * @description 本文件提供四个排列的定制cell
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供四个排列的定制cell
 */

#import <UIKit/UIKit.h>
#import "BanBu_Tile.h"

@protocol BanBu_GridCellDelegate;

@interface BanBu_GridCell : UITableViewCell

@property(nonatomic,retain)BanBu_Tile *tile0;
@property(nonatomic,retain)BanBu_Tile *tile1;
@property(nonatomic,retain)BanBu_Tile *tile2;
@property(nonatomic,retain)BanBu_Tile *tile3;

@property(nonatomic,assign)id<BanBu_GridCellDelegate> delegate;

//- (void)setImage:(NSString *)imageUrlStr distance:(NSString *)dis sex:(BOOL)sex flag:(BOOL)flag forTile:(NSInteger)index name:(NSString *)name;
- (void)setImage:(NSString *)imageUrlStr distance:(NSString *)dis sex:(NSString *)sex flag:(BOOL)flag forTile:(NSInteger)index name:(NSString *)name vip:(BOOL)vip verify:(BOOL)_ver;

- (void)setImage:(NSString *)imageUrlStr distance:(NSString *)dis sex:(NSString *)sex flag:(BOOL)flag forTile:(NSInteger)index name:(NSString *)name onlineTime:(NSTimeInterval)_time vip:(BOOL)vip verify:(BOOL)_ver;
//- (void)setImage:(NSString *)imageUrlStr distance:(NSString *)dis sex:(BOOL)sex flag:(BOOL)flag forTile:(NSInteger)index name:(NSString *)name vip:(BOOL)vip verify:(BOOL)_ver
//- (void)setImage:(NSString *)imageUrlStr distance:(NSString *)dis sex:(BOOL)sex flag:(BOOL)flag forTile:(NSInteger)index name:(NSString *)name onlineTime:(NSTimeInterval)_time;
- (void)cancelImageLoad;

@end

@protocol BanBu_GridCellDelegate <NSObject>
@optional

- (void)gridCell:(BanBu_GridCell *)cell didSelectedTile:(NSInteger)tileIndex realRow:(NSInteger)row;

@end
